package day03;

public class MinTesr1 {
    public static void main(String[] args) {
        //while 语法
        /*while (循环条件   ){
        循环操作
        }*/
        int i = 1;
        while (i <= 100) {
            System.out.println("打印第" + i + "遍操作");
            i++;
        }

        boolean a = false;
        if (a) { // 往下跳转
            System.out.println("true");
        } else {
            System.out.println("false");
        }

        int sum = 1; // 计数器
        while (sum <= 50) {
            System.out.println("第" + sum + "遍好好学习天天向上");
            sum++; //往回跳转
        }

    }
}
